//
//  GLASDKInterface.h
//  GLASDK_Overseas
//
//  Created by ljwcode on 2022/11/16.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^BackRequestData)(BOOL isSu,NSDictionary *backData);

@interface GLASDKInterface : NSObject

+(void)initInterface;

+(void)SDKLoginSendBack:(NSDictionary *)res;

+(void)requestProductId:(NSString *)productId
                 actorId:(NSString *)actorId
                serverId:(NSString *)serverId
                  userId:(NSString *)userId
                 orderNO:(NSString *)orderNO
               orderItem:(NSString *)orderItem
            currencyType:(NSString *)currencyType
               orderSign:(NSString *)orderSign
                  amount:(NSString *)amount
        developerPayload:(NSString *)developerPayload
               notifyUrl:(NSString *)notifyUrl;

+ (void)IAP_SubIAPProductId:(NSString *)productId
                    actorId:(NSString *)actorId
                   serverId:(NSString *)serverId
                     userId:(NSString *)userId
                    orderNO:(NSString *)orderNO
                  orderItem:(NSString *)orderItem
               currencyType:(NSString *)currencyType
                  orderSign:(NSString *)orderSign
                     amount:(NSString *)amount
           developerPayload:(NSString *)developerPayload
                  notifyUrl:(NSString *)notifyUrl;

+ (void)trackNewEventaction:(NSString *)action
                    sdkdata:(NSArray *)data;

// 支付相关事件
+ (void)trackPayEventAction:(NSString *)action
                    dataDic:(NSDictionary *)dataDic;

+ (void)userDelete:(NSInteger)type;

// 校验手机自检码
+ (void)getCheckDebugDetectioncode:(NSString *)detectionCode;


@end

NS_ASSUME_NONNULL_END
